//
//  DeviceManagerTableViewCell.m
//  ZhangJiangJun
//
//  Created by FENGYL on 2017/1/21.
//  Copyright © 2017年 FENGYL. All rights reserved.
//

#import "DeviceManagerTableViewCell.h"
#import "UserModel.h"

@interface DeviceManagerTableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *deviceNumber;
@property (weak, nonatomic) IBOutlet UILabel *deviceName;

@property(strong, nonatomic) UserModel *userModel;

@end

@implementation DeviceManagerTableViewCell

-(void)setCellDeviceNumber:(NSString *)deviceNumber deviceName:(NSString *)deviceName{
    
    self.userModel = [[UserModel alloc]init];
    
    [self.deviceNumber setText:deviceNumber];
    [self.deviceName setText:deviceName];
    
    self.cellDeviceName = self.deviceName.text;
    self.cellDeviceSerialNumber = self.deviceNumber.text;
    
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
